Package edu.claflin.finder.logic
Class Condition
- java.lang.Object
-
- edu.claflin.finder.logic.Condition
-
- Direct Known Subclasses:
BipartiteCondition,CliqueCondition,DirectedCliqueCondition
public abstract class Condition extends java.lang.ObjectRepresents a graph condition in memory. Subgraphs are described based on Condition objects. Simple graphs can be represented by a single condition or several condition objects wrapped within a large condition.- Version:
- 1.0.1 May 22, 2015
- Author:
- Charles Allen Schultz II
-
-
Constructor Summary
Constructors Constructor Description Condition()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract booleansatisfies(Graph existingGraph)Used to test if the supplied graph is within the bounds of the condition's implementation.
-
-
-
Method Detail
-
satisfies
public abstract boolean satisfies(Graph existingGraph)
Used to test if the supplied graph is within the bounds of the condition's implementation.- Parameters:
existingGraph- the Graph to test if the Condition applies.- Returns:
- a boolean indicating if the requirements satisfy the condition.
-
-